package com.seanLab.dao;

import com.seanLab.domain.Article;

import java.util.Collection;

/**
 * Created by ailly on 17-8-26.
 */
public interface ArticleDao {
    int insertArticle(Article article);

    int removeArticleById(long id);

    Article getArticleById(long id);

    Collection<Article> getAllArticles();

    int updateArticleById(Article article);


}
